package com.zy.dsms.pojo;

import java.io.Serializable;
import java.util.Set;

public class Permission implements Serializable{

	private static final long serialVersionUID = 1L;

	private Integer permissionId;

    private String permissionName;

    private Integer permissionClassId;
    
    private Set<Role> roles;

    public Set<Role> getRoles() {
		return roles;
	}

	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}

	public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public Integer getPermissionClassId() {
        return permissionClassId;
    }

    public void setPermissionClassId(Integer permissionClassId) {
        this.permissionClassId = permissionClassId;
    }
}